org.eclipse.vtp.desktop.projects.core
Interface IBusinessObjectSet

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IVoiceToolsResource
All Known Subinterfaces:
IWebServiceTypeSet
All Known Implementing Classes:
BusinessObjectSet, WebServiceTypeSet

public interface IBusinessObjectSet
extends IVoiceToolsResource

This interface represents the folder resource that contains the business objects defined in an application project.

Version:
2.0
Author:
Trip Gilman

Method Summary
 IBusinessObject createBusinessObject(java.lang.String name)
          Creates a new business object with the given name.
 void deleteBusinessObject(IBusinessObject businessObject)
          Removes the given business object from the application project.
 java.util.List getBusinessObjects()
           
 
Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource
addRefreshListener, deferEvents, getName, getParent, getProject, refresh, removeRefreshListener, resumeEvents
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getBusinessObjects

java.util.List getBusinessObjects()
Returns:
The list of IBusinessObjects used by the application project

createBusinessObject

IBusinessObject createBusinessObject(java.lang.String name)
                                     throws org.eclipse.core.runtime.CoreException
Creates a new business object with the given name. The business object will initially have no fields defined but all file and folder resources will be created as part of this action.

Parameters:
name - The name of the new business object
Returns:
The created business object
Throws:
org.eclipse.core.runtime.CoreException - If an error occured during the creation of the required file and folder resources for the new business object

deleteBusinessObject

void deleteBusinessObject(IBusinessObject businessObject)
Removes the given business object from the application project. All business object related file and folder resources will automatically be removed as part of this action.

Parameters:
businessObject - The business object to remove